package no.sachmuld.methodcombination.examples.reflection.combo.foo;

/**
 *
 */
public class Main implements Runnable {

    @Override
    public void run() {

        Foo foo = new FooY().with(new TransactionalBehaviour(), new LoggingBehaviour());
        System.out.println(foo.bar(1));
        System.out.println(foo.baz(1));
        System.out.println(foo.or());

    }

    public static void main(String... args) throws Exception {

        new Main().run();

    }

}
